<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<a href="C.html">转到C页面</a>
		<button type="button" onclick="doBack();">后退</button>
		<button type="button" onclick="doForward();">前进</button>
		<button type="text" id="shuaxin">页面刷新</button>
	</body>
	<script type="text/javascript">
		//history
		function doForward(){
			//history.forward()
			history.go(2)
		}
		function doBack(){
			//history.back()
			history.go(-2)
		}
	</script>
</html>
